package com.ssyx.home.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.ssyx.model.product.Category;
import com.ssyx.model.product.SkuInfo;
import com.ssyx.vo.search.SkuEsQueryVo;

import java.util.List;
import java.util.Map;

/**
 * ClassName:HomeService
 * Description:
 *
 * @Author kay
 * @Create 2024/5/15 16:22
 * @Version 1.0
 */
public interface HomeService {

    //首页数据显示接口
    Map<String, Object> homeData(Long userId);

    //获取分类信息
    List<Category> getAllcategoryList();

    //分类列表中搜索商品
    Page<SkuInfo> getPage(Long page, Long limit,SkuEsQueryVo skuEsQueryVo);
}
